<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <style>
        #box{
            font-size: 0;
        }
        span{
            display: inline-block;
            width: 100px;
            height: 100px;
            border: 1px solid red;
            font-size: 16px;

        }
        .c1{
            display: none;
            /* visibility: hidden; */
        }
        
    </style>
</head>
<body>
    <div  id="box">
        <span class="c1">span1</span>
        <span class="c2">span2</span>
    </div>
</body>
</html>